package com.ruoyi.performance.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 考核自评对象 t_teacher_assess
 * 
 * @author ruoyi
 * @date 2022-12-24
 */
public class TTeacherAssess extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    //待自评
    public static final Long WAIT_ASSESS = 1L;
    //已自评
    public static final Long FINISHED_ASSESS =2L;
    //已审核
    public static final Long FINISHED_EXAMINE =3L;
    //自评得分
    public static final Long SELF_ASSESS_SCORE = 100L;

    /** $column.columnComment */
    private Long id;

    /** 教师名字 */
    @Excel(name = "教师名字")
    private String teacherName;

    /** 考核月数 */
    @JsonFormat(pattern = "yyyy-MM")
    @Excel(name = "考核月数", width = 30, dateFormat = "yyyy-MM")
    private Date assessMonth;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 目标 */
    @Excel(name = "目标")
    private String goal;

    /** 自评得分 */
    @Excel(name = "自评得分")
    private Long selfAssessmentScore;

    /** 自评备注 */
    @Excel(name = "自评备注")
    private String selfAssessmentNote;

    /** 审核得分 */
    @Excel(name = "审核得分")
    private Long auditScore;

    /** 自评备注 */
    @Excel(name = "审核备注")
    private String auditNote;
    /** 审核人 */
    @Excel(name = "审核人")
    private String auditName;

    /** 审核状态（0待自评，1已自评） */
    @Excel(name = "审核状态", readConverterExp = "0=待自评，1已自评")
    private Long auditState;

    /** 权重 */
    @Excel(name = "权重")
    private Long weight;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }
    public void setAssessMonth(Date assessMonth) 
    {
        this.assessMonth = assessMonth;
    }

    public Date getAssessMonth() 
    {
        return assessMonth;
    }
    public void setGoal(String goal) 
    {
        this.goal = goal;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getGoal() 
    {
        return goal;
    }
    public void setSelfAssessmentScore(Long selfAssessmentScore) 
    {
        this.selfAssessmentScore = selfAssessmentScore;
    }

    public Long getSelfAssessmentScore() 
    {
        return selfAssessmentScore;
    }
    public void setSelfAssessmentNote(String selfAssessmentNote) 
    {
        this.selfAssessmentNote = selfAssessmentNote;
    }

    public String getSelfAssessmentNote() 
    {
        return selfAssessmentNote;
    }

    public Long getAuditScore() {
        return auditScore;
    }

    public void setAuditScore(Long auditScore) {
        this.auditScore = auditScore;
    }

    public String getAuditNote() {
        return auditNote;
    }

    public void setAuditNote(String auditNote) {
        this.auditNote = auditNote;
    }

    public void setAuditName(String auditName)
    {
        this.auditName = auditName;
    }

    public String getAuditName() 
    {
        return auditName;
    }
    public void setAuditState(Long auditState) 
    {
        this.auditState = auditState;
    }

    public Long getAuditState() 
    {
        return auditState;
    }
    public void setWeight(Long weight) 
    {
        this.weight = weight;
    }

    public Long getWeight() 
    {
        return weight;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("teacherName", getTeacherName())
            .append("assessMonth", getAssessMonth())
            .append("goal", getGoal())
            .append("selfAssessmentScore", getSelfAssessmentScore())
            .append("selfAssessmentNote", getSelfAssessmentNote())
            .append("auditName", getAuditName())
            .append("auditState", getAuditState())
            .append("weight", getWeight())
            .toString();
    }
}
